<template>
  <div class="main-header">
    <div class="title">
      <div class="campaign-set">
        <!-- <svg-icon class="notice-icon" icon="notice"></svg-icon> -->
        <span class="title">数字化大屏管理系统</span>
      </div>
    </div>
    <div class="user-info">
      <div class="avatar">
        <span style="color: #fff">M</span>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.main-header {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color);
  background: var(--background);

  .title {
    // width: 245px;
    font-size: 20px;
  }

  .user-info {
    min-width: 240px;
    height: 46px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;

    .avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #409eff;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      margin: 0 6px;
      transition: all 0.28s;

      .logo {
        width: 24px;
        height: 24px;
      }
    }
  }
}

.campaign-set {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: rgb(22, 132, 252);

  .notice-icon{
    width: 46px;
  }
}
</style>